<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %> 
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML>
<html>
<head>
<base href="<%=basePath%>">

<title>问诊中...</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="医疗问诊,智能问诊,问诊">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" href="<%=basePath%>css/wx.css" />
<link rel="stylesheet" href="<%=basePath%>css/weui.css" />
<link rel="stylesheet" href="<%=basePath%>css/example.css" />
<script type="text/javascript" src="<%=basePath%>js/jquery.min.js"></script>
<script type="text/javascript" src="<%=basePath%>js/jquery.js"></script>
<script type="text/javascript" src="./js/jquery-1.11.3.min.js"></script>
<script type="text/javascript"
	src="<%=basePath%>js/bootstrap-3.3.5-dist/js/bootstrap.js"></script>
<script src="<%=basePath%>js/bootstrap-table/bootstrap-table-all.min.js"></script>
<script
	src="<%=basePath%>js/bootstrap-table/bootstrap-table-zh-CN.min.js"></script>
<script
	src="<%=basePath%>js/bootstrap-jquery-plugin/jquery.bootstrap.js"></script>
<script
	src="<%=basePath%>js/bootstrap-multiselect/bootstrap-multiselect.js"></script>
<script
	src="<%=basePath%>js/bootstrap-3.3.5-dist/js/bootstrap-datetimepicker.js"></script>
<script type="text/javascript" src="<%=basePath%>js/wx.js"></script>
<script type="text/javascript" src="<%=basePath%>js/zepto.min.js"></script>
<script type="text/javascript" src="<%=basePath%>js/example.js"></script>
<style type="text/css">
html,body {
	margin: 0;
	padding: 0;
	height: 100%
}

.container {
	min-height: 100%;
	height: auto !important;
	height: 100%; /*ie6不识别min-height,如上述处理*/
	position: relative;
}

.header {
	background: #fff;
	padding: 20px;
}

.page {
	width: 100%;
	margin: 0 auto;
	padding-bottom: 60px; /*padding等于footer的高度*/
}

.footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 45px; /*footer的高度*/
	clear: both;
	margin: 0 auto;
}
.footer button{
vertical-align: -webkit-baseline-middle;
background: #6cf;
border-color: #6cf;
border: none;
vertical-align: middle;
font-size: 17px;
width: 100%;
height: 100%;
}

.content {
	background: orange;
	width: 480px;
	float: left;
	margin-right: 20px;
}

.clearfix:after,.clearfix:before {
	content: "";
	display: table
}

.clearfix:after {
	clear: both;
	overflow: hidden
}

.clearfix {
	zoom: 1;
}
.test{width:300px; padding:30px 20px; margin-left:60px; background:#beceeb; position:relative;}
.test span{width:0; height:0; font-size:0; overflow:hidden; position:absolute;}
.test span.bot{
    border-width:20px; 
    border-style:solid; 
    border-color:#ffffff #beceeb #beceeb #ffffff; 
    left:-40px; 
    top:40px;
}
.test span.top{
    border-width:10px 20px; 
    border-style:dashed solid solid dashed; 
    border-color:transparent #ffffff #ffffff transparent; 
    left:-40px; 
    top:60px;
}
</style>
</head>
<body  ontouchstart >

	
<div class="container">
	<div class="header"></div>
	<div class="page clearfix">
		<div class="question" style="margin-top: 60px;" name="question1" id="question1">
			<div>
				<div class="weui_cell weui_cell_select" style="margin: 0 auto;" id="asking">
					<div class="weui_cell_bd weui_cell_primary">
	                    <select class="weui_select" name="select1" id="select1" style="text-align: center;" onchange="selSecondSym();">
<%-- 	                      	<option selected="" value="">请选择您感觉最不适合的症状</option>
	                      	<option value="无">无</option>
                    		<c:forEach items="${symsList}" var="symsList" varStatus="index">
                     			<option  value="${symsList}">${symsList}</option>
                    		</c:forEach> --%>
	                    </select>
                	</div>
            	</div>
			</div>
<!-- 			<div class="weui_cell weui_cell_select" style="margin: 0 auto;display: none" id="asking2">
				<div class="weui_cell_bd weui_cell_primary">
                    <select class="weui_select" name="select2" id="select2" style="text-align: center;" onchange="selSecondSym2();">
                    </select>
                </div>
            </div>  --> 
		</div>
	<input type="hidden" value="" id="id" name="id"/>
	<input type="hidden" value="" id="did" name="did"/>
	<input type="hidden" value="${part}" id="part" name="part"/>
</div>
	
	<article class="weui_article" style="border: 0.5px solid #04BE02;margin-top: 60px;margin-left: 40px;margin-right: 40px;display: none" id="used">
		请您选择程度/性质/次数：
		<div class="weui_cell weui_cell_select weui_select_after" id="showdegree">
	      	<div class="weui_cell_hd">
	     		   程度：
	      	</div>
	      	<div class="weui_cell_bd weui_cell_primary" >
	          	<select class="weui_select" name="degree" id="degree"></select>
	      	</div>
	    </div>
	 	<div class="weui_cell weui_cell_select weui_select_after" id="shownature">
	         <div class="weui_cell_hd">
	        		   性质：
	         </div>
	         <div class="weui_cell_bd weui_cell_primary">
	             <select class="weui_select" name="nature" id="nature"></select>
	         </div>
		</div>
	    <div class="weui_cell weui_cell_select weui_select_after" id="showtimes">
	         <div class="weui_cell_hd">
	               		次数：
	         </div>
	         <div class="weui_cell_bd weui_cell_primary">
	         	 <select class="weui_select" name="times" id="times"></select>
	         </div>
	    </div>
	    <div class="weui_cell weui_cell_select weui_select_after" id="showvalues">
	         <div class="weui_cell_hd">
	               		数值：
	         </div>
	         <div class="weui_cell_bd weui_cell_primary">
				 <input class="weui_input" type="number" pattern="[0-9]*" style="width:80%" id="value">
	         </div>
	    </div>
	    <div class="weui_cell weui_cell_select weui_select_after" id="showvalues2" style="display: none;">
	         <div class="weui_cell_hd">
	               		数值：
	         </div>
	         <div class="weui_cell_bd weui_cell_primary">
				 <span id="sdown"></span>~<span id="sup"></span><span id="danwei2"></span>
	         </div>
	    </div>
	    
	</article>
	<div style="overflow: scroll;">
	<img src="" width="95%" id="imgRet" style="position:absolute ;margin: 10px;height:35%; display: none">
	</div>
	
	<section class="picmenu" style="height: 627px; display: none;" >
			<span class="bg_mark" style="display: none;"></span>
			<div class="picmenu_con"  style="background-color: #FBF9FE;width: 95%;height:94%;;margin-top: 5%;margin-left: 3%;;margin-right:3px;text-align: center;z-index:1;overflow-x:hidden;overflow-y:scroll;">
				<p class="m_tit" style="font-size: 15px;padding-top: 5px;"><b style="vertical-align:top">请选择符合病症的图片</b>
				</p>
				<div id="IMGDIV">
				</div>
				
			<div class="weui_extra_area" style="margin-bottom: 4%">
           <a href="javascript:;" class="weui_btn weui_btn_mini weui_btn_primary cancle" style="background-color: red" >取消</a>
            <a href="javascript:;" class="weui_btn weui_btn_mini weui_btn_primary" onclick="queding();">确定</a>
        </div>
			</div>
		</section>
		
		
<div id="loadingToast" class="weui_loading_toast" style="display: none;">
				<div class="weui_mask_transparent"></div>
				<div class="weui_toast">
					<div class="weui_loading">
						<div class="weui_loading_leaf weui_loading_leaf_0"></div>
						<div class="weui_loading_leaf weui_loading_leaf_1"></div>
						<div class="weui_loading_leaf weui_loading_leaf_2"></div>
						<div class="weui_loading_leaf weui_loading_leaf_3"></div>
						<div class="weui_loading_leaf weui_loading_leaf_4"></div>
						<div class="weui_loading_leaf weui_loading_leaf_5"></div>
						<div class="weui_loading_leaf weui_loading_leaf_6"></div>
						<div class="weui_loading_leaf weui_loading_leaf_7"></div>
						<div class="weui_loading_leaf weui_loading_leaf_8"></div>
						<div class="weui_loading_leaf weui_loading_leaf_9"></div>
						<div class="weui_loading_leaf weui_loading_leaf_10"></div>
						<div class="weui_loading_leaf weui_loading_leaf_11"></div>
					</div>
					<p class="weui_toast_content">正在问诊...</p>
				</div>
			</div>
			
	<div id="toast" style="display: none;">
        <div class="weui_mask_transparent"></div>
        <div class="weui_toast">
            <i class="weui_icon_toast"></i>
            <p class="weui_toast_content">问诊完成</p>
        </div>
    </div>
    
    
    <div id="loadingToast1" class="weui_loading_toast" style="display: none;">
				<div class="weui_mask_transparent"></div>
				<div class="weui_toast">
					<div class="weui_loading">
						<div class="weui_loading_leaf weui_loading_leaf_0"></div>
						<div class="weui_loading_leaf weui_loading_leaf_1"></div>
						<div class="weui_loading_leaf weui_loading_leaf_2"></div>
						<div class="weui_loading_leaf weui_loading_leaf_3"></div>
						<div class="weui_loading_leaf weui_loading_leaf_4"></div>
						<div class="weui_loading_leaf weui_loading_leaf_5"></div>
						<div class="weui_loading_leaf weui_loading_leaf_6"></div>
						<div class="weui_loading_leaf weui_loading_leaf_7"></div>
						<div class="weui_loading_leaf weui_loading_leaf_8"></div>
						<div class="weui_loading_leaf weui_loading_leaf_9"></div>
						<div class="weui_loading_leaf weui_loading_leaf_10"></div>
						<div class="weui_loading_leaf weui_loading_leaf_11"></div>
					</div>
					<p class="weui_toast_content">正在保存...</p>
				</div>
			</div>
    <div id="toast1" style="display: none;">
        <div class="weui_mask_transparent"></div>
        <div class="weui_toast">
            <i class="weui_icon_toast"></i>
            <p class="weui_toast_content">保存成功</p>
        </div>
    </div>
    
</div>
<div style="position: absolute;bottom: 0;width: 100%;clear: both;margin: 0 auto;">
	<div>
		<a class="weui_btn weui_btn_primary" href="javascript:" id="showTooltips1" onclick="clickYes('1')" style="margin-bottom:5px;">继续问诊</a>
	</div>
	<div>
		<a class="weui_btn weui_btn_primary" href="javascript:" id="showTooltips2" onclick="clickYes('2')" style="margin-bottom:5px;display: none;">继续问诊</a>
	</div>
	<div>
		<a class="weui_btn weui_btn_primary" href="javascript:" id="showTooltips0" onclick="clickYes('0')" style="margin-bottom:5px;background-color: red">结束问诊</a>
	</div> 
	<div>
		<a class="weui_btn weui_btn_primary" href="javascript:" id="idyes" style="margin-bottom:5px;display: none" onclick="idyes();">是</a>
	</div>
	<div>
		<a class="weui_btn weui_btn_warn" href="javascript:" id="idno" style="margin-bottom:5px;display: none" onclick="idno();">否</a>
	</div>
</div>
	<section class="historymenu" style="height: 627px; display: none;">
			<span class="bg_mark" style="display: none;"></span>
<!-- 			选择病史开始 -->
			<div class="historymenu_con"  style="background-color: #FBF9FE;width: 95%;height:94%;;margin-top: 5%;margin-left: 3%;;margin-right:3px;text-align: center;z-index:1;overflow: hidden;">
				<p class="m_tit" style="font-size: 15px;padding-top: 5px;"></p>
				<jsp:include page="./caseHistory/history.jsp" flush="false" />
			<div class="weui_extra_area" style="text-align: center;"> 
</div>
			</div>
<!-- 选择角色结束 -->
		</section>


		<section class="theleftmenu" style="height: 627px; display: none;">
			<span class="bg_mark" style="display: none;"></span> 
<!-- 			选择协议开始 -->
			<div class="theleftmenu_con"  style="background-color: #fff;width: 95%;height:94%;;margin-top: 5%;margin-left: 3%;margin-right:3px;text-align: center;z-index:1;overflow: hidden;">
				<p class="m_tit" style="font-size: 15px;padding-top: 5px;">请选协议</p>
				<jsp:include page="disclaimer.jsp" flush="false" />
			<div class="weui_extra_area" style="text-align: center;margin-bottom: 25px;"> 
           <a href="javascript:;" class="weui_btn weui_btn_mini weui_btn_primary" style="background-color: red" onclick="noObserve();">我不遵守</a>
			<a href="javascript:;" class="weui_btn weui_btn_mini weui_btn_primary" onclick="observe();">我遵守</a>       
</div>
			</div> 
<!-- 选择角色结束 -->
		</section>
</body>
<script type="text/javascript"> 
var basePath="<%=basePath%>";
var symsed="${symsed}";
	
</script>
<script type="text/javascript" src="<%=basePath%>js/inquiry.js"></script>
</html>
